#include "mainwindow.h"
#include "adapter.h"
#include "prepare.h"

#include <QApplication>

int main(int argc, char *argv[])
{
    QApplication a(argc, argv);
    MainWindow w;
    w.show();
    Prepare _P;
    Adapter _A;
    QObject::connect(&_P,&Prepare::result,&_A, &Adapter::setResData);
    _P.getResultList();
    return a.exec();
}
